<template>
<div>
    <el-date-picker
      v-model="value1"
      type="date"
      placeholder="选择日期">
    </el-date-picker>
     <el-button round icon="el-icon-success" @click="ok">提交</el-button>
     <el-pagination
      v-model="value2"
      background 
      layout="prev, pager, next"
      :total="1000">
     </el-pagination>
</div>
</template>
<script>
export default {
  data () {
    return {
      value1: "",
      value2:''
    }
  },
  methods: {
    ok () {
      console.log(this.value1.getDate())

    }
  }
};
</script>